{include file="common/top"}

<div id="page-wrapper">
    <div id="page-inner">
        <div class="row">
            <div class="col-md-12">
                <h1 class="page-head-line">分类添加</h1>
                <h1 class="page-subhead-line"></h1>

            </div>
        </div>
        <!-- /. ROW  -->
        <div class="row">
            <div class="col-md-6 col-sm-6 col-xs-12">
                <div class="panel panel-info">
                    <div class="panel-heading">
                        分类管理
                    </div>
                    <div class="panel-body">
                <form action="/admin/symbolcat/add" method="post" id="form">
<!--                    {:token()}-->

                    <hr/>
<!--                    <h5>Enter Details to Login</h5>-->
                    <br/>
                    <div class="form-group input-group">
                        <span class="input-group-addon"><i class="fa fa-tag"></i></span>
                        <input type="text" class="form-control" name="pid" placeholder="顶级分类"/>
                    </div>
                    <div class="form-group input-group">
                        <span class="input-group-addon"><i class="fa fa-lock"></i></span>
                        <input type="text" class="form-control" name="title" placeholder="分类名称"  datatype="s6-8" />
                    </div>
                    <div class="form-group input-group">
                        <span class="input-group-addon"><i class="fa fa-lock"></i></span>
                        <select class="form-control" name="status">
                            <option   value ="0">状态</option>
                            <option   value ="1">启用</option>
                            <option   value ="2">禁用</option>
                        </select>
                    </div>
                    <div class="form-group input-group">
                        <span class="input-group-addon"><i class="fa fa-lock"></i></span>
                        <input type="text" class="form-control" name="sort" placeholder="排序"    />
                    </div>


                    <a style="padding:30px;"><input type="submit" class="btn btn-primary" value="提交"></a>
                    <hr/>
<!--                    Not register ? <a href="index.html">click here </a> or go to <a href="index.html">Home</a>-->
                </form>
                    </div>
                </div>
            </div>
        </div>
        <!-- /. PAGE INNER  -->
    </div>

</body>
<!--<script type="text/javascript">-->
<!--    $('#form').Validform({-->
<!--        tiptype:4,-->
<!--        ajaxPost:true,-->
<!--        callback:function(res){-->
<!--            if(res.status=='success'){-->
<!--                layer.msg(res.msg,{icon:1});-->
<!--                location.href='common';-->
<!--            }else{-->
<!--                layer.msg(res.msg,{icon:2});-->
<!--            }-->
<!--        }-->
<!--    });-->

<!--</script>-->
<script type="text/javascript">
    $(#form).Validform();
</script>
</html>
    {include file="common/out"}
